home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_3 / multiuser / src / library / userinfo.h < prev   
C/C++ Source or Header  |  1994-03-07  |  1KB  |  40 lines

  1. /************************************************************
  2. * MultiUser - MultiUser Task/File Support System                *
  3. * ---------------------------------------------------------    *
  4. * User Information Management                                            *
  5. * ---------------------------------------------------------    *
  6. * © Copyright 1993-1994 Geert Uytterhoeven                        *
  7. * All Rights Reserved.                                                    *
  8. ************************************************************/
  9.  
  10.  
  11. #include "multiuser.h"
  12.  
  13.  
  14.     /*
  15.      *        Private User Information Structure
  16.      *
  17.      *        This is a sub class of the Public User Information Structure
  18.      */
  19.  
  20. struct muPrivUserInfo {
  21.     struct muUserInfo Pub;                    /* The public part */
  22.     BOOL Password;                                /* TRUE if the User has a password */
  23.     STRPTR Pattern;                     /* Pattern matching temp */
  24.     ULONG Count;                                /* last info */
  25.     UWORD Tgid;                                    /* gid for muKeyType_gidNext */
  26. };
  27.  
  28.  
  29.     /*
  30.      *        Function Prototypes
  31.      */
  32.  
  33. extern struct muPrivUserInfo __asm __saveds *muAllocUserInfo(void);
  34. extern void __asm __saveds muFreeUserInfo(register __a0 struct muPrivUserInfo *info);
  35. extern struct muPrivUserInfo __asm __saveds *muGetUserInfo(register __a0 struct muPrivUserInfo *info,
  36.                                                                               register __d0 ULONG keytype);
  37. extern ULONG __asm muGetRelationshipA(register __d0 struct muExtOwner *user, register __d1 ULONG owner,
  38.                                                   register __a0 struct TagItem *taglist);
  39. extern struct muExtOwner __asm __saveds *muUserInfo2ExtOwner(register __a0 struct muUserInfo *info);
  40.